package team.pwy.mapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import team.pwy.pojo.entity.Movie;
import team.pwy.pojo.entity.Performer;

import java.util.List;

/**
 * 本来用来演示:
 *
 * @author feng
 * @date 2023/11/1
 * @Description
 */
@Repository
public interface PerformerMapper {
    @Select("select * from pwy.pwy_performer where  movie_id=#{value}")
    List<Performer> findByperformer(Integer movieId);

}
